<template>
  <div>
    <h2>Two</h2>
    <h5>{{count}}</h5>
    <Two @shijain="shijain"/>
  </div>
</template>

<script>
import Two from "./ChildTwo/Childtwo.vue"
export default {
    name:"One",
    data() {
        return {
            count:0
        }
    },
    components:{
        Two
    },
    methods:{
        shijain(count){
            this.count = count 
        }
    }
    

}
</script>

<style>

</style>